Calculus and trigonometry